package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 网络规划工厂
 *
 * @author huangtao
 */
@TableName(value = "glc_network_factory_goods")
public class NetworkFactoryGoods implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(value = "batch_id")
    private Long batchId;
    @TableField(value = "factory_id")
    private Long factoryId;
    @TableField(value = "good_name")
    private String goodName;
    @TableField(value = "good_cost")
    private double goodCost;
    @TableField(value = "good_year_yield")
    private double goodYearYield;
    @TableField(value = "operator_id")
    private Long operatorId;
    @TableField(value = "create_time")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public Long getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Long factoryId) {
        this.factoryId = factoryId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName == null ? null : goodName.trim();
    }

    public Double getGoodCost() {
        return goodCost;
    }

    public void setGoodCost(Double goodCost) {
        this.goodCost = goodCost;
    }

    public Double getGoodYearYield() {
        return goodYearYield;
    }

    public void setGoodYearYield(Double goodYearYield) {
        this.goodYearYield = goodYearYield;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
